/**
 * Created by aa on 2016/9/26.
 */
var React = require('react');
var ReactDom = require('react-dom');
var Redux=require('redux');
var reactRedux=require('react-redux');
var thunk=require('redux-thunk');
var createStore=Redux.createStore;
var applyMiddleware=Redux.applyMiddleware;
var reducers=require('./reducers');

var HkfsLogin = require('./containers/pc/HkfsLogin.jsx');

var initialState = window.__INITIAL_STATE__;
var createStoreWithMiddleware = applyMiddleware(thunk.default)(createStore);
var store = createStoreWithMiddleware(reducers, initialState);
var Provider = reactRedux.Provider;


require('stylesheets/HkfsRegisterAndLogin.less');
require('stylesheets/HkfsLogin.less');
require('stylesheets/ReTab.less');
require('stylesheets/ReButton.less');
require('stylesheets/ReDialog.less');


ReactDom.render(
    <Provider store={store}>
        <HkfsLogin/>
    </Provider>, document.getElementById('root'));